package com.downhometech.productcalculator.models;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

public class Party implements Serializable
{
	private int id = 0;
	private String name = "";
	private String location = "";
	private String host = "";
	private Date date = new Date();
	private ArrayList<Cart> carts = new ArrayList();
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public void addCart(Cart cart) {
		this.carts.add(cart);
	}
	public ArrayList<Cart> getCarts() {
		return carts;
	}
	public void setCarts(ArrayList<Cart> carts) {
		this.carts = carts;
	}

	
}
